from TestFunction.FormList import FormListTest
from TestFunction.FormLogin import FormLogin
from TestFunction.FormLogon import FormLogonTest
from TestFunction.FormWordTest import FormWordTest
from common.Utils import FormDriver

if  __name__ == "__main__":
    Login = FormLogin()
    Login.FormLogWebTest()
    Login.FormLoginDefete()
    Login.FormLoginUsability()
    Logon = FormLogonTest()
    Logon.FormLogonWebTest()
    Logon.FormLogonDefe1()
    Logon.FormLogonDefe2()
    Logon.FormLogonDefe3()
    Logon.FormLogonDefe4()
    Logon.FormLogonDefe5()
    Logon.driver.back()
    LogList = FormListTest()
    Login.FormLoginSucTest()
    LogList.FormListWebTest()
    LogList.FormListUse()
    Word = FormWordTest()
    Word.FromWebTest()

#退出测试
    FormDriver.driver.quit()